#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>

size_t my_strlen(const char* str)
{
	assert(str);
	const char* tmp = str;
	while (*str)
	{
			str++;
	}
	return str - tmp;
}

int main()
{
	char arr[] = "abcdef";
	size_t  len = my_strlen(arr);
	printf("%zd", len);
}